<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>SGP-Web</title>
	<link href="./css/padrao.css" rel="stylesheet" type="text/css" />
</h:head>
<h:body>
	<h:form>
		<p:layout fullPage="true">
			<p:layoutUnit position="center"
				header="SGP-Web - Sistema de Gerenciamento Policial Web"
				footer="Gerenciamento do Setor de Transporte">
				<br />
				<div align="center">
					<p:graphicImage value="/images/logo.png" height="100" width="150" />
					<br />
					<h2>MENU DE OPÇÕES</h2>
					<p:commandButton value="INCLUIR ABASTECIMENTOS"
						action="#{beanSessao.Acessar_IncluirAbastecimentos}"
						styleClass="menu_principal" ajax="false">
						<f:setPropertyActionListener
							target="#{beanAbastecimento.abastecimento.servidor}"
							value="#{beanSessao.servidor}" />
						</p:commandButton>
					<br /> <br />
					<p:commandButton value="INFORMAR MANUTENÇÃO DE VEÍCULO"
						action="#{beanSessao.Acessar_SolicitarManutencao}"
						styleClass="menu_principal" ajax="false">
						<f:setPropertyActionListener
							target="#{beanManutencao.manutencao.servidor}"
							value="#{beanSessao.servidor}" />
						</p:commandButton>
					<br /> <br />
					<p:commandButton value="CONSULTAR ABASTECIMENTOS REALIZADOS"
						action="#{beanSessao.Acessar_ConsultarAbastecimentos}"
						styleClass="menu_principal">
						<f:setPropertyActionListener
							target="#{beanAbastecimento.abastecimento.servidor}"
							value="#{beanSessao.servidor}" />
					</p:commandButton>
					<br /> <br />
					<p:commandButton value="CONSULTAR MANUTENÇÕES INFORMADAS"
						action="#{beanSessao.Acessar_ConsultarManutencoes}"
						styleClass="menu_principal">
						<f:setPropertyActionListener
							target="#{beanManutencao.manutencao.servidor}"
							value="#{beanSessao.servidor}" />
						</p:commandButton>
					<br /> <br />
					<p:commandButton value="CONSULTAR VEÍCULOS DA PJC"
						action="#{beanSessao.Acessar_ConsultarVeiculos}"
						styleClass="menu_principal" />
					<br /> <br />
					<p:commandButton value="CONSULTAR POSTOS AUTORIZADOS"
						action="#{beanSessao.Acessar_ConsultarPostos}"
						styleClass="menu_principal" />
					<br /> <br /> <br />

					<p:commandButton value="ENCERRAR O PROGRAMA"
						action="#{beanSessao.Encerrar_Sessao}" styleClass="menu_principal" />
					<br /> <br />
				</div>
			</p:layoutUnit>
		</p:layout>
	</h:form>
</h:body>
</html>